
<div id="wrapper-content" align="left">

    <table class="titrepage" width="100%">
        <tr>
             <td width="200px"><a href="<?php echo site_url('gestion_newsletter/list_newsletter');?>"> << Revenir</a></td>
     <td >Newsletter</td>
 </tr>
</table>
     <?php if(isset($annonce))echo $annonce;?>
     <?php echo form_open_multipart('gestion_newsletter/add_newsletter'); ?>
    <table width="100%" class="list">
             <tr>
                <td width="200px"><label>Titre</label></td>
                <td><input type="text" size="50" name="titre" value="<?php echo set_value('titre');?>"><?php echo form_error('titre'); ?></td>
            </tr>
            <tr>
                <td width="200px"><label>Destination</label></td>
                <td align="left">

                    <ul id="newsletteroption">
                     <li>  <input type="checkbox" name="ad" value="1"> Tous les adhérents</li>
                   <li> <input type="checkbox" name="nonad" value="1"> Tous les non adhérents</li>
                 </ul>
                    <?php echo $erreur;?>

                </td>
            </tr>
            <tr>
                <td valign="top">Contenu</td>
                <td >
                    <div class="fckEnglishEditor" >
                        <?php
                        $data = array('name' => 'contenu',
                            'id' => 'txtDes',
                            'width' => '600',
                            'height' => '500', 'value' => set_value('contenu'));
                        echo form_fckeditor($data);
                        ?>
                    </div>
                 <?php echo form_error('contenu'); ?>
                </td>
            </tr>
            <tr>
                <td> </td>
                <td>
                    <input type="submit" name="submit" value="Envoyer"/></td>
           </tr>
    </table>
</form>
</div>